package com.yfqy.app.domain.mapper;

import com.yfqy.app.domain.entity.OrderAddress;
import com.yfqy.app.modules.order.vo.OrderAddressVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderAddressMapper {

    int insert(OrderAddress record);

    OrderAddress selectByPrimaryKey(Long id);

    OrderAddressVO selectOrderAddrByOrderId(Long id);

    // 根据订单ID列表查询地址
    List<OrderAddress> selectByOrderIds(@Param("orderIds") List<Long> orderIds);
}